Skip to content

bugfix(web-app-files): [OCISDEV-862] Fix share invite button being pushed down in space sharing#13793

Merged
mzner merged 1 commit into
masterfrom
bugfix/OCISDEV-862/button-pushed-down-space-sharing
May 19, 2026
Merged

bugfix(web-app-files): [OCISDEV-862] Fix share invite button being pushed down in space sharing#13793
mzner merged 1 commit into
masterfrom
bugfix/OCISDEV-862/button-pushed-down-space-sharing

Conversation

@mzner
Copy link
Copy Markdown
Contributor

@mzner mzner commented May 19, 2026

Description

Fixes the layout of the invite collaborator form where the "Share" button was being pushed down to a new line when sharing a space. The changes include:

  • Replaced oc-flex-wrap with oc-flex-middle on the main action row to vertically center items and prevent wrapping
  • Added oc-flex-nowrap to the button container to keep the expiration indicator and share button on the same line
  • Moved the "Notify via mail" checkbox out of the flex row into its own block-level container, so it no longer affects the
    button positioning
  • Added white-space: nowrap to the share button to prevent its text from breaking across lines

Related Issue

Motivation and Context

When sharing a space, the additional UI elements (role dropdown, expiration indicator) caused the "Share" button to be pushed below the action row. This made the form look broken and was confusing to users.

How Has This Been Tested?

  • test environment: local dev server with oCIS backend
  • test case 1: Open sidebar → share a space with a user → verify the Share button stays inline with the role dropdown
  • test case 2: Set an expiration date → verify the expiration indicator, share button, and role dropdown all remain on the same row
  • test case 3: Regular file/folder sharing still renders correctly

@mzner mzner requested a review from LukasHirt May 19, 2026 05:48
@mzner mzner force-pushed the bugfix/OCISDEV-862/button-pushed-down-space-sharing branch 2 times, most recently from 135e9b7 to 41350a7 Compare May 19, 2026 05:52
@mzner mzner force-pushed the bugfix/OCISDEV-862/button-pushed-down-space-sharing branch from 41350a7 to 99c0aea Compare May 19, 2026 06:17
@sonarqubecloud
Copy link
Copy Markdown

@mzner mzner merged commit 7bf4554 into master May 19, 2026
29 of 31 checks passed
@mzner mzner deleted the bugfix/OCISDEV-862/button-pushed-down-space-sharing branch May 19, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants